package com.yuandian.management.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.management.entity.ConfConfirmedUrl;
import com.yuandian.bpm.common.data.datascope.BpmBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 已确认URL资源表-Mapper接口
 * @author zfsn
 * @date 2023-3-17
 */
@Mapper
public interface ConfConfirmedUrlMapper extends BpmBaseMapper<ConfConfirmedUrl> {

	/**
	 * 查询数据
	 *
	 *
	 * @param page
	 * @param confConfirmedUrl 筛选条件
	 * @return 通用返回对象
	 */
	Page<Map<String, Object>> getConfirmedList(Page<ConfConfirmedUrl> page, @Param("params") ConfConfirmedUrl confConfirmedUrl);

	void updateBusinessResourceNoUsed(@Param("identifyStr") String identifyStr);

    Integer listCount(ConfConfirmedUrl dbCrv);

	List<ConfConfirmedUrl> list(ConfConfirmedUrl dbCrv);
}